package com.softcomputer.rpt.servlet;

import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet(name = "exchServlet", urlPatterns = {"/exchServlet"})
public class ajaxExchangeProcessServlet extends HttpServlet {

   @Override
   protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {

      PrintWriter out = response.getWriter();

      out.println("<html>");
      out.println("<body>");
      out.println("<h2>" + getServletInfo() + "</h2>");
      out.println("</body>");
      out.println("</html>");
   }
}
